/*
 * VideoService.java
 * Copyright 2018 Qunhe Tech, all rights reserved.
 * Qunhe PROPRIETARY/CONFIDENTIAL, any form of usage is subject to approval.
 */

package com.bearox.trans.service;

import com.bearox.trans.data.dto.VideoDto;

import java.util.List;

/**
 * @author Bearox
 */
public interface VideoService {

    /**
     * 新增视频
     * @param videoDto
     * @return
     */
    int addVideo(final VideoDto videoDto);

    /**
     * 根据课程ID 获取课程对应的视频
     * @param courseId
     * @param start
     * @param num
     * @return
     */
    List<VideoDto> getVideoListByCourseId(final long courseId, final long start, final int num);
}
